package zigzag.designpattern.chain;

public class StandoutLogger extends Logger{

	protected void writeMessage(int priority, String msg) {
		if (priority == Logger.INFORMATION){
			System.out.println("Standout:" + msg);
		}else if (next!=null){ 
			next.writeMessage(priority, msg);
		}
	}
}




